package templatePattern;

/**
 * @author LIBOFEI
 * @ClassName Tea2
 * @description
 * @date 2020/6/26 14:35
 * @Version 1.0
 **/
public class After2 extends Programmer {

    @Override
    public void working() {
        System.out.println("后端开始造bug");
        System.out.println("throw Exception...");
    }

    @Override
    public boolean isNeedWorkOverTime() {
        return true;
    }
}
